home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 66
/
Vol 66.iso
/
games
/
doeo.swf
/
scripts
/
frame_32
/
DoAction.as
Wrap
Text File
|
2013-04-24
|
589b
|
26 lines
if(kingisdead == 1)
{
kingisdead = 0;
}
else
{
gotoAndStop(21);
}
bonus = (1280 - st) * 10;
kingtime = st / 32;
_root.kongregateServices.connect();
if(difficulty == "easy")
{
_root.kongregateStats.submit("gamecomplete_easy",1);
_root.kongregateStats.submit("kingtime_easy",kingtime);
_root.kongregateScores.setMode("Normal");
}
else
{
_root.kongregateStats.submit("gamecomplete_hard",1);
_root.kongregateStats.submit("kingtime_hard",kingtime);
_root.kongregateScores.setMode("Hard");
}
_root.kongregateScores.submit(score + bonus);
stop();